import 'package:flutter/material.dart';

class ImageAndIconPage extends StatelessWidget{

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
       title: Text("图片和Icon"),
      ),
      body: Column(
        children: <Widget>[
          Image(
            image:NetworkImage(
              "https://avatars2.githubusercontent.com/u/20411648?s=460&v=4") ,
            fit: BoxFit.fill,
          ),
          Image.network(
            "https://avatars2.githubusercontent.com/u/20411648?s=460&v=4",
            width: 150.0,
            height: 150.0,
          )

        ],


      ),

    );
  }

}
